home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d16 / pshell22.arc / PSHELL.TXT < prev   
Text File  |  1991-09-19  |  15KB  |  415 lines

  1.  
  2. OTHER NAME
  3.  
  4. 23 augustus 1991
  5.  
  6. There suddenly exists a very similar program, which on Bulletin Boards
  7. has the name 4WIN110.ZIP. It has a 4WIN.EXE executable and does more
  8. or less same as my PSHELL, but I think mine is better ;-). Aw, that guy
  9. does not even have a DESCRIBE-function!
  10.  
  11. I used the name 4WIN for the compressed files, 'cause it was rather
  12. meaningful (4dos for WINdows). To avoid confusion I'll ship
  13. my program in the future as PSHELLxx.LZH, where xx is the version number.
  14.  
  15.  
  16. 9 september 1991
  17.  
  18. The makers of 4DOS, JP Software, also communicated with me over the 
  19. name 4WIN. As I was not using it any more, it should not be a 
  20. problem. It should be clear that I am not in any way affiliated with 
  21. JP Software other than as a very satisfied 4DOS user.  4DOS is a 
  22. trademarks of JP software (or is it the other way around? - that 
  23. American folklore of quoting and claiming certainly keeps me 
  24. confused).
  25.  
  26. Hans Paijmans.
  27.  
  28.  
  29. DISCLAIMER
  30.  
  31. All the usual disclaimers go here: use PSHELL at your own risk and
  32. don't come wailing to me if bugs in the program eat your disk, your
  33. computer and your pet canary. As far as I know there are no dangerous
  34. bugs in PSHELL and I certainly did not put a virus in it. Please read
  35. the copyright notice: althoug not too many strings are attached (pun
  36. not intended), this program is not public domain.
  37.  
  38. I will now stop development of this version (1.): it was only meant to
  39. give  me the first 'feel' of Turbo pascal for Windows.
  40. Version (2) will be around later this year. I will use it to delve into
  41. the niceties of the OWL development kit, which comes with TPW, but
  42. looks, sounds and smells VERY complicated! PSHELL version 2 will
  43. have some new tricks, which I also miss in WINDOWS.
  44.  
  45.  (as you see version 1 developed into version 2 without the benefit of OWL.
  46.   So much for good intentions!)
  47.  
  48. Comments and suggestions are always welcome as are bottles with beer!
  49. See address below. (Must see the first dutchman yet who sends a
  50. bottle of beer for what he can have for free!).
  51.  
  52.  
  53.  
  54. DIRECTIONS OF USE
  55.  
  56. Put PSHELL.EXE and PSHELL.HLP somewhere in your path. There is an
  57. Icon in PSHELL, but it does not seem to come out if the program is
  58. minimized.
  59.  
  60. If you like PSHELL, add a line like
  61.  
  62.       RUN = E:\BIN\PSHELL.EXE
  63.  
  64. in WIN.INI and it will be around when WINDOWS awakens.
  65.  
  66. Use the HELP-command to learn about the commands. A synopsis is given
  67. below, but I keep adding things and forgetting about them later.
  68.  
  69.  
  70. PSHELL does not cover all 4DOS-commands, switches and parameters.  It
  71. reflects those functions that I use regularly, but there are many
  72. very sensible functions that are not in PSHELL, because I do not
  73. happen to need them. Tell you what: send me a bottle of Belgian beer
  74. and I'll add them in for you.
  75.  
  76.  
  77. DEVELOPMENT HISTORY.
  78.  
  79.  
  80. PSHELL version 1.0
  81.  
  82. copyright Hans Paijmans 1991.
  83.  
  84.  
  85. PSHELL was born from the conviction that ten fingers and a keyboard
  86. are better tools to perform typical housekeeping-tasks on the PC than
  87. mice and other pointing devices.
  88.  
  89. Also I am addicted to 4DOS, the well-known alternative for
  90. COMMAND.COM from JP Software and many of my directories have
  91. 4DOS-descriptions attached. Alas!  none of the command-line shells
  92. for WINDOWS, that I have seen, seems to support them.
  93.  
  94. So I wrote another command-line shell for MS-WINDOWS, but one that
  95. should be able to read the 4DOS DESCRIPT.ION-files.
  96.  
  97.  
  98. How to use it:
  99.  
  100. ------> Refer to 4DOS help if the following is not clear.
  101.  
  102. COPY, REN, DEL and DIR may be used and changes will be reflected in
  103.    the descriptions. Parameters not supported at the moment.
  104.  
  105. TYPE and LIST are identical. They support wildcards. Press ESC to
  106.    cancel the typing of the current file, ctrl_C to quit.
  107.    S to stop scrolling, any key to start again.
  108.  
  109. CHDIR, RMDIR, MKDIR work as expected (by me, that is).
  110.  
  111. CDD changes both path and disk.
  112.  
  113. DESCRIBE filenaam: will enable the user to add 4DOS descriptions to
  114.    files in the directory.
  115.  
  116. DOS and MS-WINDOWS commands may be typed on the commandline to start
  117.    execution. This works for BAT-files and PIF-files too. The DOS
  118.    path-environment is copied to PSHELL and expanded when searching
  119.    for an executable file.  If one is found, first a CHDIR to that
  120.    directory is executed. This might cause some unexpected 'where-is-that-
  121.    darned-file-I-see-it-right-here-but-he-doesnt!' feelings, but you'll
  122.    get over it.
  123.  
  124. EXIT. To kill the 4PSHELL just type EXIT on the command-line.
  125.  
  126. ==============================================================================
  127.  
  128.  PSHELL version 1.01
  129.  
  130.  Bug removed, which prevented execution of external commends, if not
  131.  in path.
  132.  
  133.  CD, RD and MD now also work as MKDIR, CHDIR etc.
  134.  
  135.  PUSHD dirname, DIRS and POPD added, with stack of twenty
  136.     directory-names.
  137.  
  138.  MEMORY and FREE added (RAM and default disk).
  139.  
  140.  MOVE added (deletes files after copying them).
  141.  
  142.  HISTORY added.
  143.  
  144. ==============================================================================
  145.  
  146.  PSHELL version 1.02 -- 12 juni 1991
  147.  
  148.  
  149.  Scrollbar activated. Virtual PSHELL-window now is 256 lines and may
  150.  be scrolled back and forth.
  151.  
  152.  CLS added (guess what).
  153.  
  154.  TREE added (displays directory-tree).
  155.  
  156.  ^E is now automatically followed by ^F when editing the command-
  157.     history.
  158.  
  159.  /w - switch added to DIR (for wide display).
  160.  
  161.  Bug removed, which impeded DELETE and COPY after a number of times.
  162.  
  163.  Bug removed, which prevented loading programs if path was set.  Bug
  164.  removed, which sometimes did not update the descriptions after REN.
  165.  
  166.  =============================================================================
  167.  
  168.  PSHELL version 1.03
  169.  
  170.  /a - switch added to DIR (displays attributes in stead of comments);
  171.  /c - switch added to TYPE to add CR to lines, which don't have one.
  172.  
  173.  GLOBAL added for executing an internal command over several
  174.       directories.  Try GLOBAL DEL *.* to get the general idea. (NO!
  175.       Don't take me serious!).
  176.  
  177.  STOP added, to quit WINDOWS without first having to discuss it with
  178.       the progam manager. You have to enter 'Y' in uppercase to
  179.       confirm.
  180.  
  181.  HELP added, which was a major pain in the ass. But thanks to God,
  182.       Phillipe Kahn and my own gigantic intelligence, I finally
  183.       figured how to write MS-WINDOWS help-files.
  184.  
  185.  DOS  a command, which starts the COMMAND-interpreter that is in the
  186.       COMSPEC-variable (either DOS or 4DOS).
  187.  
  188.  command line editor added; ^E, ^X, ^S and ^D function as Uparrow,
  189.    downarrow, left and right. ^A and ^F as HOME and END.  As I said,
  190.    I am waiting for a trick to read the scancodes.  You 'll remember
  191.    that in 4DOS the up-arrow cycled back through the command-history,
  192.    and the down-arrow forward. ^E and ^X do it now in 4PSHELL. Don't
  193.    forget to use HOME (^A) and END (^F) to finish the edited
  194.    command-line.
  195.    NB. this is fixed in version 1.04. Arrows now work like expected.
  196.  
  197.  =============================================================================
  198.  
  199.  PSHELL version 1.04
  200.  
  201.  My thanks to Martin Fridael who tested the previous versions.
  202.  
  203.  Backslash and point may be placed behind commands without
  204.  intervening space.  N.B. spaces before the slash of a switch are
  205.  obligatory!
  206.  
  207.  The caret (^) now may be used to combine several commands on the
  208.  command line.
  209.  
  210.  DIR now displays the correct free space (in stead of the space of
  211.      the defaultdisk).
  212.  
  213.  DOS-command removed in favour of 4DOS or COMMAND. Try them to see
  214.      which one works on your system.
  215.  
  216.  STOP! quits Windows without confirmation
  217.  
  218.  ARROW-keys and Home/End now work too! Finally got my fingers between
  219.      the keys.
  220.  
  221.  The close-box left-up now works without letting an accidental
  222.      CTRL-C clobber the window.
  223.  
  224. =====================================================================
  225.  
  226.  PSHELL version 1.05
  227.  
  228.  DIR Displays sum of files in a directory.
  229.  
  230.  DEL Now you can stop a DEL *.* by pressing ctrl-c. I did find out the hard
  231.      way that ctrl-c did not work here.
  232.  
  233.  EXCEPT (one of that 4DOS-goodies) works too! Just put filespecs
  234.      inside parenthesis and give a disk-command.
  235.      e.g.
  236.      EXCEPT (*.EXE *.COM) COPY *.* B:
  237.      It works by first setting the attributes of the files
  238.      between the parenthesis on HIDDEN and READONLY, executing
  239.      the command and setting the HIDDEN and READONLY off again.
  240.      NOTE: files of that filespec, which were hidden or read-only
  241.      to begin with, are changed to NOT hidden and NOT readonly!
  242.  
  243.  SET may be used to examine DOS environment variables (not to SET them!)
  244.  
  245. ==============================================================================
  246.  
  247.  PSHELL version 1.06
  248.  
  249.  Although I considered version 1.05 as the final version, they kept
  250.  pestering me for refinements like storing the window-dimensions in
  251.  an INI-file. I consider it rot, but here goes...
  252.  
  253.  EXIT /S causes the current parameters to be saved in a PSHELL.INI.
  254.  
  255. ==============================================================================
  256.  
  257.  PSHELL version 1.07
  258.  
  259.  Some germans asked for umlauts etc in the descriptions... They got it.
  260.  But I did not find out how to enter them in PSHELL, so they will have to
  261.  do this kind of descriptions in the 4DOS-shell, although they may read
  262.  them in PSHELL. If they know how to make WINDOWS recognize that
  263.  horrible german keyboards, they may tell me about it.
  264.  
  265.  /S added to TYPE and LIST. It suppresses weird characters and
  266.     adds CR/LF's, so that you may TYPE executables and other
  267.     non-ASCII-files.
  268.  
  269.  /W trims bit 8 (useful for some wordprocessor-files).
  270.  
  271.  
  272.  
  273.  Support added for the excellent WINBATCH batchprocessor for Windows
  274.  from Morris Wilson. A shareware version can be downloaded from any
  275.  well-equipped BBS. Just put WINBATCH and the batchfile (extension WBT)
  276.  somewhere in your path. Of course WINBATCH will nag you for registration
  277.  every first time you use it in a session. I will nag you for a bottle
  278.  of beer, every time you read this.
  279.  
  280.  INDES. The command INDES has been added, which enables the selection
  281.      of files which have a certain string in their description-part (not case-
  282.      sensitive).
  283.      So
  284.  
  285.      INDES "foobar" DEL *.BAK
  286.  
  287.      means "delete all *.bak-files with 'foobar' somewhere in the description.
  288.      and
  289.  
  290.      INDES NOT "foobar" DEL *.bak
  291.  
  292.      means "delete all *.bak-files, except those with 'foobar' somewhere
  293.      in the description...
  294.  Try it! It effectively makes the filenames 40 characters longer!
  295.  I might go and implement it as an addition to 4DOS, it works that well!
  296.  
  297.  DESCRIBE now accepts a stringargument, which lets you add descriptions
  298.      to a lot of files in one command. like:
  299.  
  300.      DESCRIBE PSHELL*.* "That beautiful shell of Paijmans
  301.  
  302.  F1 may be used to start HELP now. And I finally got that bloody Icon
  303.      nailed!
  304.  
  305.  It is not necessary anymore to give the drive explicitly when starting a
  306.  BAT-file in the default-directory.
  307.  
  308.  Some minor bugs squashed, notably in Type, the file-comments and
  309.  rename, thanks to Petri Hartoma, who also suggested the ICON-fix.
  310.  Also a bug, wich prohibited executing external commands, which were preceded
  311.  by a disk and colon.
  312.  
  313. ==============================================================================
  314.  
  315.  PSHELL version 1.09   23 August 1991
  316.  PSHELL version 2.01
  317.  
  318.  BAC added, which works like COPY, but only copies new files and
  319.      files, which are younger than the files on the destination drive
  320.  
  321.  UPDATE added, which copies only younger files over older files,
  322.      but does not add new files.
  323.  
  324.  BEEP added. Look, you're not gonna believe this, but it beeps.
  325.  
  326.  LOAD added, which loads and minimizes a task as an Icon.
  327.  
  328.  INDES is split in INDES and INDESI. INDES now is case-sensitive and
  329.  INDESI is not.
  330.  
  331.  WHERE filenaam. Searches default disk for file(s)
  332.  
  333.  BATCH-files. It had to come: PSHELL now has batchfiles of its own.
  334.  Just use ASCII-files with the extension .PBT.
  335.  Currently supported are:
  336.  
  337.    ECHO on|off|messagestring
  338.    REM
  339.    PAUSE message
  340.    9 parameters (%1 .. %9)
  341.    IF parameter == string .... (mind the spaces around the == !)
  342.               also eq, ne, gt, lt, le, ge
  343.    EXISTS filename
  344.    GOTO label
  345.    :label
  346.  
  347.  NOTA BENE: PSHELL searches PBT before the BAT-extension. Therefore
  348.  you may use identical names, e.g. SEARCH.PBT and SEARCH.BAT as below
  349.  for the same tasks under WINDOWS and DOS
  350.  
  351.    PUSHD C:\
  352.    WHERE %1
  353.    CDD D:\
  354.    WHERE %1
  355.    POPD
  356.  
  357.  Which (assuming 4DOS and the renaming of FF.COM to WHERE.COM) would
  358.  either use PSHELL-commands under WINDOWS and 4DOS-commands under 4DOS,
  359.  but execute transparent.
  360.  
  361. ==================================================================
  362.  PSHELL 2.02
  363.  
  364.  An 'autoexec' added, which executes automatically whenever a new copy
  365.  of pshell is started. It is called '4PSHELL.PBT' and may be anywhere in
  366.  the path.
  367.  
  368.  KD added which means 'KillDir'. KD recursively deletes all files
  369.  and directories under and inclusive the given directory.
  370.  
  371.  PROMPT added, which behaves more or less as the DOS prompt-command.
  372.  The prompt is saved to PSHELL.INI when quitting PSHELL with EXIT /S
  373.  
  374.  VER added, which displays the version numbers of PSHELL, MS-DOS and 
  375.  MS-WINDOWS.
  376.  
  377.  Pseudo-device CON added, so 'COPY CON Filename' works too.
  378.  
  379.  Redirection-signs > and >> added.
  380.  
  381.  Move: if moving between directories on the same drive, a RENAME
  382.  is done in stead of the rather slow COPY and DELETE. (Jarvi asked for 
  383.  that one too. Finnish beer will do nicely, thank you).
  384.  
  385.  I think that I now really will quit messing around with this shell.
  386.  The next version will be downward compatible, but far more intelligent.
  387.  
  388. ==================================================================
  389.  
  390. COPYRIGHT NOTICE
  391.  
  392. Although everybody is invited to copy PSHELL for private use, the
  393. program is NOT public domain. I want to keep all options open to
  394. prohibit criminal, racist, zionist and fascist organizations to
  395. profit from my work.
  396.  
  397. Giving this program away for free in a package deal, in which 
  398. other products are sold, is considered commercial use and is explicitly
  399. prohibited without written permission from me. Just keep thinking
  400. "OK, so this dutch guy made something. How would I like to be treated
  401. if I was in his shoes?"
  402. If somebody wants to use my program commercially, just contact me. 
  403. We will work out something. 
  404.  
  405. Suggestions and donations of bottles with Belgian beer are welcome
  406. at
  407.  
  408. Hans Paijmans
  409. Elzenstraat 1
  410. 5183 VS Waalre
  411. Holland
  412.  
  413. PAAI@KUB.NL (bitnet).
  414.  
  415.